import pandas as pd
from sklearn.model_selection import train_test_split


dat = pd.read_csv('raw_data/train.csv')
data_train, data_test = train_test_split(dat, test_size=0.05)

data_train.to_csv('raw_data/data_local/train.csv', index=False)
data_test.to_csv('raw_data/data_local/dev.csv', index=False)